package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.PurStockmanage;

/**
 * stockMapper接口
 * 
 * @author bhl
 * @date 2022-04-09
 */
public interface PurStockmanageMapper 
{
    /**
     * 查询stock
     * 
     * @param id stock主键
     * @return stock
     */
    public List<Map> selectPurStockmanageById(Integer id);

    /**
     * 查询stock列表
     * 
     * @param purStockmanage stock
     * @return stock集合
     */
    public List<Map> selectPurStockmanageList(PurStockmanage purStockmanage);

    /**
     * 新增stock
     * 
     * @param purStockmanage stock
     * @return 结果
     */
    public int insertPurStockmanage(PurStockmanage purStockmanage);

    /**
     * 修改stock
     * 
     * @param purStockmanage stock
     * @return 结果
     */
    public int updatePurStockmanage(PurStockmanage purStockmanage);

    /**
     * 删除stock
     * 
     * @param id stock主键
     * @return 结果
     */
    public int deletePurStockmanageById(Integer id);

    /**
     * 批量删除stock
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurStockmanageByIds(Integer[] ids);
}
